// K 继承自 T键，默认值 T键
type MyReadonly2<T, K extends keyof T = keyof T> = {
readonly [P in K]: T[P]
} & {
    [P in Exclude<keyof T, K>]: T[P]
}